import type { RouteRecordRaw } from 'vue-router';

import { DefaultLayout } from '@/fierce/layouts';

const demoPages: RouteRecordRaw[] = [
  {
    name: 'root',
    path: '/',
    component: DefaultLayout,
    redirect: '/dashboard',
    children: [
      {
        name: 'dashboard',
        path: 'dashboard',
        component: () => import('@/pages/console/dashboard/index.vue'),
        meta: {
          title: '用户信息设置',
          keepAlive: false,
          affix: false,
        },
      },
      {
        name: 'analysis',
        path: 'analysis',
        component: () => import('@/pages/console/analysis/index.vue'),
        meta: {
          title: '分析页面',
          keepAlive: false,
          affix: false,
        },
      },

    ],
  },
];

export default demoPages;
